package cn.mastor.pet.mapper;

import cn.mastor.pet.domain.Pet;
import cn.mastor.basic.mapper.BaseMapper;
import cn.mastor.pet.domain.PetDetail;
import cn.mastor.pet.domain.PetType;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author itsource
 * @since 2022-10-28
 */
public interface PetMapper extends BaseMapper<Pet> {

    List<PetType> petTypeTree();

    void batchOffsale(List<Long> ids);

    Pet getDetail(Long id);

    PetDetail loadByPetId(Long id);
}
